* {
    margin: 0;
    padding: 0;

}

.container-goods {
    width: 1000px;
    margin: 0 auto;
    padding-top: 40px;
}

.container-goods::after {
    content: "";
    display: block;
    clear: both;
    overflow: hidden;
}

.goods {
    width: 184px;
    float: left;
    margin-right: 20px;
}

.goods:nth-of-type(5n) {
    margin-right: 0;
}

.goods img {
    width: 184px;
    height: 184px;
}

.goods h1,
h2 {
    font-size: 16px;
    line-height: 30px;
    padding: 2px 5px;
}

.goods h1 {
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.goods h2 {
    color: red;
}

#pagination {
    display: flex;
    justify-content: center;
}

#pagination a,
#pagination span {
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    background-color: salmon;
    list-style: none;
    margin-left: 20px;
    cursor: pointer;
}

#pagination span {
    background-color: skyblue;
}
@import "./nav"